package com.Txunda.fxw.ui.toolkit.tool;

import java.util.List;

import com.Txunda.fxw.ui.activity.route.DrivingRouteOverLay;
import com.amap.api.maps2d.AMap;
import com.amap.api.services.core.LatLonPoint;
import com.amap.api.services.route.DrivePath;

import android.content.Context;

public class RouteTool extends DrivingRouteOverLay {
	
	public int color;// ·����ɫ
	public float lineWidth;// ·�߿��
	
	public RouteTool(Context context, AMap amap, DrivePath path, LatLonPoint start, LatLonPoint end,
			List<LatLonPoint> throughPointList, int color, float lineWidth) {
		super(context, amap, path, start, end, throughPointList);
		this.color = color;
		this.lineWidth = lineWidth;

	}
	@Override
	protected int getDriveColor() {
		return color;
	}

	@Override
	public float getRouteWidth() {
		return lineWidth;
	}

}
